package cn.edu.njust.strategy;

import cn.edu.njust.server.Stat;

import java.util.List;
import java.util.Random;

public class RandomStrategy implements StatelessStrategy {
    private Random random = new Random();

    @Override
    public int next(List<Stat> stats, List<Integer> weights) {
        return random.nextInt(stats.size());
    }
}
